﻿<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Script file="mnk.lua" />
  
  <FontString  name="echoText_template" inherits="SystemFont_Huge1" font="Fonts\FRIENDS.ttf" virtual="true">
    <FontHeight>
      <AbsValue val="22"/>
    </FontHeight>
    <Size>
      <AbsDimension x="800" y="60"/>
    </Size>
    <Anchors>
      <Anchor point="CENTER">
        <Offset x="0" y="0"/>
      </Anchor>
    </Anchors>
    <Color r="0.5" g="0.9" b="0.9" a="0"/>
  </FontString>


  <MessageFrame name="GuildMsgFrame" insertMode="TOP" parent="UIParent" frameStrata="HIGH" toplevel="true">
    <Size>
      <AbsDimension x="512" y="40"/>
    </Size>
    <Anchors>
      <Anchor point="TOP" relativeTo="UIErrorsFrame" relativePoint="BOTTOM">
        <Offset>
          <AbsDimension x="0" y="-10"/>
        </Offset>
      </Anchor>
    </Anchors>
    <Scripts>
      <OnLoad>
        
      </OnLoad>
      <OnEvent>
        
      </OnEvent>
    </Scripts>
    <FontString inherits="GameFontNormalHuge" font="Fonts\FRIENDS.ttf" justifyH="CENTER"/>
  </MessageFrame>

  <MessageFrame name="KillsMsgFrame" insertMode="TOP" parent="UIParent" frameStrata="HIGH" toplevel="true">
    <Size>
      <AbsDimension x="212" y="40"/>
    </Size>
    <Anchors>
      <Anchor point="TOP" relativeTo="GuildMsgFrame" relativePoint="BOTTOM">
        <Offset>
          <AbsDimension x="-380" y="-5"/>
        </Offset>
      </Anchor>
    </Anchors>
    <Scripts>
      <OnLoad>
      </OnLoad>
      <OnEvent>
      </OnEvent>
    </Scripts>
    <FontString inherits="GameFontNormalHuge" font="Fonts\FRIENDS.ttf" justifyH="CENTER"/>
  </MessageFrame>
  
  <Frame name="mainFrame" parent="UIParent" toplevel="true" movable="true" enableMouse="true" alpha="50">
    <Size>
      <AbsDimension x="124" y="190" />
    </Size>
    <Anchors>
      <Anchor point="LEFT" />
    </Anchors>
    <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
			<BackgroundInsets>
				<AbsInset left="11" right="12" top="12" bottom="11"/>
			</BackgroundInsets>
			<TileSize>
				<AbsValue val="32"/>
			</TileSize>
			<EdgeSize>
				<AbsValue val="32"/>
			</EdgeSize>
		</Backdrop>

    <Frames>
      <Button name="buttonHide">
        <Size>
          <AbsDimension x="32" y="32" />
        </Size>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="-3" y="15" />
          </Anchor>
        </Anchors>
        <NormalTexture file="Interface\AddOns\mnk\Images\Horde.tga"/>
        <Scripts>
          <OnClick>buttonHide_OnClick();</OnClick>
        </Scripts>
      </Button>

      <Button name="item_1">
        <Size>
          <AbsDimension x="40" y="40" />
        </Size>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="17" y="-20" />
          </Anchor>
        </Anchors>
        <NormalTexture file="Interface\AddOns\mnk\Images\prof.tga"/>
        <Scripts>
          <OnClick>GetProfessions_click();</OnClick>
        </Scripts>
      </Button>

      <Button name="item_2">
        <Size>
          <AbsDimension x="40" y="40" />
        </Size>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="65" y="-20" />
          </Anchor>
        </Anchors>
        <NormalTexture file="Interface\AddOns\mnk\Images\latency.tga"/>
        <Scripts>
          <OnClick>GetLatency_click();</OnClick>
        </Scripts>
      </Button>

      <Button name="item_3">
        <Size>
          <AbsDimension x="40" y="40" />
        </Size>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="17" y="-75" />
          </Anchor>
        </Anchors>
        <NormalTexture file="Interface\AddOns\mnk\Images\invite.tga"/>
        <Scripts>
          <OnClick>GuildInvite();</OnClick>
        </Scripts>
      </Button>

      <Button name="item_4">
        <Size>
          <AbsDimension x="40" y="40" />
        </Size>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="65" y="-75" />
          </Anchor>
        </Anchors>
        <NormalTexture file="Interface\AddOns\mnk\Images\stats.tga"/>
        <Scripts>
          <OnClick>GetStatistics();</OnClick>
        </Scripts>
      </Button>

      <Button name="item_5">
        <Size>
          <AbsDimension x="40" y="40" />
        </Size>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="17" y="-130" />
          </Anchor>
        </Anchors>
        <NormalTexture file="Interface\AddOns\mnk\Images\alert.tga"/>
        <Scripts>
          <OnClick>GW_TextShowHide();</OnClick>
        </Scripts>
      </Button>

      <Button name="item_6">
        <Size>
          <AbsDimension x="40" y="40" />
        </Size>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="65" y="-130" />
          </Anchor>
        </Anchors>
        <NormalTexture file="Interface\AddOns\mnk\Images\options.tga"/>
        <Scripts>
          <OnClick>
            ConfigShowHide();
          </OnClick>
        </Scripts>
      </Button>

    </Frames>
    
    <Scripts>
      <OnLoad>
        mainFrame_OnLoad();
        self:RegisterForDrag("LeftButton");
      </OnLoad>
      <OnDragStart>self:StartMoving();</OnDragStart>
      <OnDragStop>self:StopMovingOrSizing();</OnDragStop>
    </Scripts>

    <TitleRegion name="title">
      <Size>
        <AbsDimension x="120" y="130" />
      </Size>
      <Anchors>
        <Anchor point="TOP" />
      </Anchors>
    </TitleRegion>

    <Layers>

      <Layer level="ARTWORK" name="title_bar">
        <Texture file="Interface\AddOns\mnk\Images\Bar2.tga" name="tb_txt">
          <Size>
            <AbsDimension x="125" y="22" />
          </Size>
          <Anchors>
            <Anchor point="TOP">
              <Offset x="1" y="10" />
            </Anchor>
          </Anchors>
        </Texture>
      </Layer>
      
      <Layer level="OVERLAY">
        <FontString  name="titleCaption" inherits="GameFontHighlight" text="ADDONCAPTION">
          <FontHeight>
            <AbsValue val="24"/>
          </FontHeight>
          <Size>
            <AbsDimension x="120" y="30"/>
          </Size>
          <Anchors>
            <Anchor point="TOP">
              <Offset x="7" y="13"/>
            </Anchor>
          </Anchors>
          <Color r="1" g="0.2" b="0.1" a="1"/>
        </FontString>
      </Layer>  
      
    </Layers>
	</Frame>

  <Frame name="echoFrame" parent="mainFrame" toplevel="true" movable="false" enableMouse="true" alpha="1">
    <Size>
      <AbsDimension x="240" y="80" />
    </Size>
    <Anchors>
      <Anchor point="LEFT" relativeTo="mainFrame">
        <Offset x="-230" y="-55"/>
      </Anchor>
    </Anchors>
    <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" >
      <BackgroundInsets>
        <AbsInset left="11" right="12" top="12" bottom="11"/>
      </BackgroundInsets>
      <TileSize>
        <AbsValue val="32"/>
      </TileSize>
      <EdgeSize>
        <AbsValue val="32"/>
      </EdgeSize>
      
    </Backdrop>
    <Frames>
      <EditBox name="gw_text" letters="80">
        <Size>
          <AbsDimension x="130" y="42"></AbsDimension>
        </Size>
        <Anchors>
          <Anchor point="LEFT">
            <Offset>
              <AbsDimension x="20" y="-13"></AbsDimension>
            </Offset>
          </Anchor>
        </Anchors>
        <Layers>
          <Layer level="BACKGROUND">
            <Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
              <Size>
                <AbsDimension x="75" y="32"></AbsDimension>
              </Size>
              <Anchors>
                <Anchor point="LEFT">
                  <Offset>
                    <AbsDimension x="-10" y="0"></AbsDimension>
                  </Offset>
                </Anchor>
              </Anchors>
              <TexCoords left="0" right="0.2" top="0" bottom="1.0"></TexCoords>
            </Texture>
            <Texture file="Interface\ChatFrame\UI-ChatInputBorder-Right">
              <Size>
                <AbsDimension x="75" y="32"></AbsDimension>
              </Size>
              <Anchors>
                <Anchor point="RIGHT">
                  <Offset>
                    <AbsDimension x="10" y="0"></AbsDimension>
                  </Offset>
                </Anchor>
              </Anchors>
              <TexCoords left="0.7" right="1.0" top="0" bottom="1.0"></TexCoords>
            </Texture>
          </Layer>
        </Layers>
        <Scripts>
          <OnLoad></OnLoad>
          <OnEnterPressed>
            SendGuildWarning();echoFrame:Hide();
          </OnEnterPressed>
        </Scripts>
        <FontString inherits="ChatFontNormal"></FontString>
      </EditBox>

      <Button name="gw_text_button" inherits="OptionsButtonTemplate" text="OK">
      <Anchors>
        <Anchor point="RIGHT">
          <Offset>
            <AbsDimension x="-15" y="-13"/>
          </Offset>
        </Anchor>
      </Anchors>
        <Size>
          <AbsDimension x="65" y="30"></AbsDimension>
        </Size>
      <Scripts>
        <OnClick>SendGuildWarning(); </OnClick>
      </Scripts>
      </Button>
    </Frames>
    <Layers>
      <Layer level="OVERLAY">
        <FontString  name="titleCaption" inherits="GameFontHighlight" text="Wpisz tresc komunikatu">
          <FontHeight>
            <AbsValue val="24"/>
          </FontHeight>
          <Size>
            <AbsDimension x="160" y="30"/>
          </Size>
          <Anchors>
            <Anchor point="TOP">
              <Offset x="2" y="-7"/>
            </Anchor>
          </Anchors>
          <Color r="1" g="0.2" b="0.1" a="1"/>
        </FontString>
      </Layer>
    </Layers>
    <Scripts>
      <OnLoad>
        self:Hide();
      </OnLoad>
    </Scripts>
  </Frame>


  <Frame name="configFrame" toplevel="true" movable="false" enableMouse="true" alpha="1">
    <Size>
      <AbsDimension x="600" y="410" />
    </Size>
    <Anchors>
      <Anchor point="CENTER">
        <Offset x="0" y="50"/>
      </Anchor>
    </Anchors>
    <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" >
      <BackgroundInsets>
        <AbsInset left="11" right="12" top="12" bottom="11"/>
      </BackgroundInsets>
      <TileSize>
        <AbsValue val="32"/>
      </TileSize>
      <EdgeSize>
        <AbsValue val="32"/>
      </EdgeSize>
           
    </Backdrop>
    <Frames>
      <Button name="buttonHide2">
        <Size >
          <AbsDimension x="32" y="32" />
        </Size>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="-3" y="1" />
          </Anchor>
        </Anchors>
        <NormalTexture file="Interface\AddOns\mnk\Images\Horde.tga"/>
        <Scripts>
          <OnClick>configFrame:Hide();</OnClick>
        </Scripts>
      </Button>

      <CheckButton name="check_f_prof" inherits="OptionsCheckButtonTemplate" checked="true">
        <Size>
          <AbsDimension x="24" y="24"/>
        </Size>
        <Anchors>
          <Anchor point="BOTTOM" relativeTo="label2">
            <Offset>
              <AbsDimension x="-90" y="-30"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick>
            readCheckBoxes("check_f_prof");
          </OnClick>
        </Scripts>
      </CheckButton>

      <CheckButton name="check_f_latency" inherits="OptionsCheckButtonTemplate" checked="true">
        <Size>
          <AbsDimension x="24" y="24"/>
        </Size>
        <Anchors>
          <Anchor point="BOTTOM" relativeTo="label2">
            <Offset>
              <AbsDimension x="-90" y="-60"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick>
            readCheckBoxes("check_f_latency");
          </OnClick>
        </Scripts>
      </CheckButton>

      <CheckButton name="check_f_autoparty" inherits="OptionsCheckButtonTemplate" checked="true">
        <Size>
          <AbsDimension x="24" y="24"/>
        </Size>
        <Anchors>
          <Anchor point="BOTTOM" relativeTo="label2">
            <Offset>
              <AbsDimension x="-90" y="-90"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick>
            readCheckBoxes("check_f_autoparty");
          </OnClick>
        </Scripts>
      </CheckButton>

      <CheckButton name="check_f_stats" inherits="OptionsCheckButtonTemplate" checked="true">
        <Size>
          <AbsDimension x="24" y="24"/>
        </Size>
        <Anchors>
          <Anchor point="BOTTOM" relativeTo="label2">
            <Offset>
              <AbsDimension x="-90" y="-120"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick>
            readCheckBoxes("check_f_stats");
          </OnClick>
        </Scripts>
      </CheckButton>

      <CheckButton name="check_f_guildwarning" inherits="OptionsCheckButtonTemplate" checked="true">
        <Size>
          <AbsDimension x="24" y="24"/>
        </Size>
        <Anchors>
          <Anchor point="BOTTOM" relativeTo="label2">
            <Offset>
              <AbsDimension x="-90" y="-150"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick>
            readCheckBoxes("check_f_guildwarning");
          </OnClick>
        </Scripts>
      </CheckButton>

      <CheckButton name="check_f_records" inherits="OptionsCheckButtonTemplate" checked="false">
        <Size>
          <AbsDimension x="24" y="24"/>
        </Size>
        <Anchors>
          <Anchor point="BOTTOM" relativeTo="label2">
            <Offset>
              <AbsDimension x="-90" y="-180"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick>
            readCheckBoxes("check_f_records");
          </OnClick>
        </Scripts>
      </CheckButton>

      <CheckButton name="check_f_idontwantit" inherits="OptionsCheckButtonTemplate" checked="false">
        <Size>
          <AbsDimension x="24" y="24"/>
        </Size>
        <Anchors>
          <Anchor point="BOTTOM" relativeTo="label2">
            <Offset>
              <AbsDimension x="-90" y="-210"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick>
            readCheckBoxes("check_f_idontwantit");
          </OnClick>
        </Scripts>
      </CheckButton>

      <CheckButton name="check_f_bgrat" inherits="OptionsCheckButtonTemplate" checked="false">
        <Size>
          <AbsDimension x="24" y="24"/>
        </Size>
        <Anchors>
          <Anchor point="BOTTOM" relativeTo="label2">
            <Offset>
              <AbsDimension x="-90" y="-240"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick>
            readCheckBoxes("check_f_bgrat");
          </OnClick>
        </Scripts>
      </CheckButton>

      <CheckButton name="check_f_config" inherits="OptionsCheckButtonTemplate" checked="false">
        <Size>
          <AbsDimension x="24" y="24"/>
        </Size>
        <Anchors>
          <Anchor point="BOTTOM" relativeTo="label2">
            <Offset>
              <AbsDimension x="-90" y="-270"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick>
            readCheckBoxes("check_f_config");
          </OnClick>
        </Scripts>
      </CheckButton>


      <Slider name="killInfoLocation" inherits="OptionsSliderTemplate" minValue="-600" maxValue="600"  orientation="HORIZONTAL">
        <Size>
          <AbsDimension x="200" y="16"/>
        </Size>
        <Anchors>
          <Anchor point="LEFT">
            <Offset>
              <AbsDimension x="30" y="100"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnLoad>
            getglobal(killInfoLocation:GetName() .. 'Low'):SetText('Lewo');
            getglobal(killInfoLocation:GetName() .. 'High'):SetText('Prawo');
            getglobal(killInfoLocation:GetName() .. 'Text'):SetText('Pozycja informacji o serii klli');
          </OnLoad>
          <OnValueChanged>
            setKillFrameLocation('x');
          </OnValueChanged>
        </Scripts>
      </Slider>

      <Slider name="killInfoLocation2" inherits="OptionsSliderTemplate" minValue="-400" maxValue="200" orientation="HORIZONTAL">
        <Size>
          <AbsDimension x="200" y="16"/>
        </Size>
        <Anchors>
          <Anchor point="LEFT">
            <Offset>
              <AbsDimension x="30" y="140"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnLoad>
            getglobal(killInfoLocation2:GetName() .. 'Low'):SetText('Dół');
            getglobal(killInfoLocation2:GetName() .. 'High'):SetText('Góra');
            getglobal(killInfoLocation2:GetName() .. 'Text'):SetText('Pozycja informacji o serii klli');
          </OnLoad>
          <OnValueChanged>
            setKillFrameLocation('y');
          </OnValueChanged>
        </Scripts>
      </Slider>

      <Slider name="panelScale" inherits="OptionsSliderTemplate" minValue="25" maxValue="200" orientation="HORIZONTAL">
        <Size>
          <AbsDimension x="200" y="16"/>
        </Size>
        <Anchors>
          <Anchor point="LEFT">
            <Offset>
              <AbsDimension x="30" y="50"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnLoad>
            getglobal(panelScale:GetName() .. 'Low'):SetText('Min');
            getglobal(panelScale:GetName() .. 'High'):SetText('Max');
            getglobal(panelScale:GetName() .. 'Text'):SetText('Wielkosc panelu');
          </OnLoad>
          <OnValueChanged>
            setPanelScale();
          </OnValueChanged>
        </Scripts>
      </Slider>

    </Frames>
    <Layers>
      <Layer level="OVERLAY">
        
        <FontString  name="titleCap" inherits="GameFontNormal" text="MnK - HKM konfiguracja">
          <FontHeight>
            <AbsValue val="24"/>
          </FontHeight>
          <Size>
            <AbsDimension x="160" y="10"/>
          </Size>
          <Anchors>
            <Anchor point="TOP">
              <Offset x="2" y="17"/>
            </Anchor>
          </Anchors>
          <Color r="0.1" g="0.4" b="0.9" a="1"/>
        </FontString>
        
        <FontString  name="label1" inherits="GameFontHighlight" text="Ustawienia">
          <FontHeight>
            <AbsValue val="24"/>
          </FontHeight>
          <Size>
            <AbsDimension x="280" y="20"/>
          </Size>
          <Anchors>
            <Anchor point="TOPLEFT" >
              <Offset x="-5" y="-12"/>
            </Anchor>
          </Anchors>
          <Color r="0.1" g="0.8" b="0.1" a="1"/>
        </FontString>

        <FontString  name="label2" inherits="GameFontHighlight" text="Przyciski w panelu">
          <FontHeight>
            <AbsValue val="24"/>
          </FontHeight>
          <Size>
            <AbsDimension x="280" y="20"/>
          </Size>
          <Anchors>
            <Anchor point="TOPRIGHT" >
              <Offset x="-5" y="-12"/>
            </Anchor>
          </Anchors>
          <Color r="0.1" g="0.8" b="0.1" a="1"/>
        </FontString>

        <FontString  name="label_f1" inherits="GameFontHighlight" text="Link profek" justifyH="LEFT">
          <FontHeight>
            <AbsValue val="24"/>
          </FontHeight>
          <Size>
            <AbsDimension x="180" y="20"/>
          </Size>
          <Anchors>
            <Anchor point="BOTTOM" relativeTo="label2">
              <Offset x="20" y="-25"/>
            </Anchor>
          </Anchors>
          <Color r="0.4" g="0.7" b="0.9" a="1"/>
        </FontString>

        <FontString  name="label_f2" inherits="GameFontHighlight" text="Latency w gildii" justifyH="LEFT">
          <FontHeight>
            <AbsValue val="24"/>
          </FontHeight>
          <Size>
            <AbsDimension x="180" y="20"/>
          </Size>
          <Anchors>
            <Anchor point="BOTTOM" relativeTo="label2">
              <Offset x="20" y="-55"/>
            </Anchor>
          </Anchors>
          <Color r="0.4" g="0.7" b="0.9" a="1"/>
        </FontString>

        <FontString  name="label_f3" inherits="GameFontHighlight" text="Auto-party" justifyH="LEFT">
          <FontHeight>
            <AbsValue val="24"/>
          </FontHeight>
          <Size>
            <AbsDimension x="180" y="20"/>
          </Size>
          <Anchors>
            <Anchor point="BOTTOM" relativeTo="label2">
              <Offset x="20" y="-85"/>
            </Anchor>
          </Anchors>
          <Color r="0.4" g="0.7" b="0.9" a="1"/>
        </FontString>

        <FontString  name="label_f4" inherits="GameFontHighlight" text="Statystyki" justifyH="LEFT">
          <FontHeight>
            <AbsValue val="24"/>
          </FontHeight>
          <Size>
            <AbsDimension x="180" y="20"/>
          </Size>
          <Anchors>
            <Anchor point="BOTTOM" relativeTo="label2">
              <Offset x="20" y="-115"/>
            </Anchor>
          </Anchors>
          <Color r="0.4" g="0.7" b="0.9" a="1"/>
        </FontString>

        <FontString  name="label_f5" inherits="GameFontHighlight" text="Guild warning" justifyH="LEFT">
          <FontHeight>
            <AbsValue val="24"/>
          </FontHeight>
          <Size>
            <AbsDimension x="180" y="20"/>
          </Size>
          <Anchors>
            <Anchor point="BOTTOM" relativeTo="label2">
              <Offset x="20" y="-145"/>
            </Anchor>
          </Anchors>
          <Color r="0.4" g="0.7" b="0.9" a="1"/>
        </FontString>

        <FontString  name="label_f6" inherits="GameFontHighlight" text="Rekordy (w przygotowaniu)" justifyH="LEFT">
          <FontHeight>
            <AbsValue val="24"/>
          </FontHeight>
          <Size>
            <AbsDimension x="180" y="20"/>
          </Size>
          <Anchors>
            <Anchor point="BOTTOM" relativeTo="label2">
              <Offset x="20" y="-175"/>
            </Anchor>
          </Anchors>
          <Color r="0.4" g="0.7" b="0.9" a="1"/>
        </FontString>

        <FontString  name="label_f7" inherits="GameFontHighlight" text="Niechciane itemy (w przygotowaniu)" justifyH="LEFT">
          <FontHeight>
            <AbsValue val="24"/>
          </FontHeight>
          <Size>
            <AbsDimension x="180" y="20"/>
          </Size>
          <Anchors>
            <Anchor point="BOTTOM" relativeTo="label2">
              <Offset x="20" y="-205"/>
            </Anchor>
          </Anchors>
          <Color r="0.4" g="0.7" b="0.9" a="1"/>
        </FontString>

        <FontString  name="label_f8" inherits="GameFontHighlight" text="BG Ratting" justifyH="LEFT">
          <FontHeight>
            <AbsValue val="24"/>
          </FontHeight>
          <Size>
            <AbsDimension x="180" y="20"/>
          </Size>
          <Anchors>
            <Anchor point="BOTTOM" relativeTo="label2">
              <Offset x="20" y="-235"/>
            </Anchor>
          </Anchors>
          <Color r="0.4" g="0.7" b="0.9" a="1"/>
        </FontString>

        <FontString  name="label_f9" inherits="GameFontHighlight" text="Konfigurator" justifyH="LEFT">
          <FontHeight>
            <AbsValue val="24"/>
          </FontHeight>
          <Size>
            <AbsDimension x="180" y="20"/>
          </Size>
          <Anchors>
            <Anchor point="BOTTOM" relativeTo="label2">
              <Offset x="20" y="-265"/>
            </Anchor>
          </Anchors>
          <Color r="0.4" g="0.7" b="0.9" a="1"/>
        </FontString>

      </Layer>
    </Layers>
    <Scripts>
      <OnLoad>
        self:Hide();
      </OnLoad>
      <OnUpdate>
      </OnUpdate>
      <OnClick>
        
      </OnClick>
    </Scripts>
  </Frame>

  <Frame name="specialIconFrame" parent="GuildMsgFrame" toplevel="true" movable="false" enableMouse="true" alpha="1">
    <Size>
      <AbsDimension x="170" y="200" />
    </Size>
    <Anchors>
      <Anchor point="CENTER" >
        <Offset x="0" y="-40"/>
      </Anchor>
    </Anchors>
    <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" >
      <BackgroundInsets>
        <AbsInset left="11" right="12" top="12" bottom="11"/>
      </BackgroundInsets>
      <TileSize>
        <AbsValue val="32"/>
      </TileSize>
      <EdgeSize>
        <AbsValue val="32"/>
      </EdgeSize>

    </Backdrop>
    <Frames>
      <Button name="icon1">
        <Size>
          <AbsDimension x="50" y="50" />
        </Size>
        <Anchors>
          <Anchor point="TOP">
            <Offset x="0" y="-15" />
          </Anchor>
        </Anchors>
        <NormalTexture file="Interface\AddOns\mnk\Images\bg.tga"/>
        <Scripts>
          <OnClick>getLinkRattings();bgRatShowHide();</OnClick>
        </Scripts>
      </Button>


    </Frames>
    <Layers>
      <Layer level="OVERLAY">
        
        <FontString  name="bgCaption" inherits="GameFontHighlight" text="BG RATTING !">
          <FontHeight>
            <AbsValue val="24"/>
          </FontHeight>
          <Size>
            <AbsDimension x="160" y="30"/>
          </Size>
          <Anchors>
            <Anchor point="TOP">
              <Offset x="0" y="-60"/>
            </Anchor>
          </Anchors>
          <Color r="0.4" g="0.7" b="0.9" a="1"/>
        </FontString>

        <FontString  name="label_win" inherits="GameFontHighlight" text="Wins:">
          <FontHeight>
            <AbsValue val="24"/>
          </FontHeight>
          <Size>
            <AbsDimension x="160" y="30"/>
          </Size>
          <Anchors>
            <Anchor point="Left">
              <Offset x="-20" y="-30"/>
            </Anchor>
          </Anchors>
          <Color r="0.9" g="0.9" b="0.1" a="1"/>
        </FontString>
        
        <FontString  name="label_los" inherits="GameFontHighlight" text="Loose:">
          <FontHeight>
            <AbsValue val="24"/>
          </FontHeight>
          <Size>
            <AbsDimension x="160" y="30"/>
          </Size>
          <Anchors>
            <Anchor point="Left">
              <Offset x="-20" y="-50"/>
            </Anchor>
          </Anchors>
          <Color r="0.9" g="0.9" b="0.1" a="1"/> 
        </FontString>

        <FontString  name="label_rat" inherits="GameFontHighlight" text="Ratting:">
          <FontHeight>
            <AbsValue val="24"/>
          </FontHeight>
          <Size>
            <AbsDimension x="160" y="30"/>
          </Size>
          <Anchors>
            <Anchor point="Left">
              <Offset x="-20" y="-70"/>
            </Anchor>
          </Anchors>
          <Color r="0.6" g="0.2" b="0.6" a="1"/>
        </FontString>

        <FontString  name="bgRatting_l" inherits="GameFontHighlight" text="0">
          <FontHeight>
            <AbsValue val="24"/>
          </FontHeight>
          <Size>
            <AbsDimension x="160" y="30"/>
          </Size>
          <Anchors>
            <Anchor point="Left">
              <Offset x="35" y="-70"/>
            </Anchor>
          </Anchors>
          <Color r="0.4" g="0.4" b="1" a="1"/>
        </FontString>

        <FontString  name="bgWins_l" inherits="GameFontHighlight" text="0">
          <FontHeight>
            <AbsValue val="24"/>
          </FontHeight>
          <Size>
            <AbsDimension x="160" y="30"/>
          </Size>
          <Anchors>
            <Anchor point="Left">
              <Offset x="35" y="-30"/>
            </Anchor>
          </Anchors>
          <Color r="0.4" g="1" b="0.4" a="1"/>
        </FontString>

        <FontString  name="bgLos_l" inherits="GameFontHighlight" text="0">
          <FontHeight>
            <AbsValue val="24"/>
          </FontHeight>
          <Size>
            <AbsDimension x="160" y="30"/>
          </Size>
          <Anchors>
            <Anchor point="Left">
              <Offset x="35" y="-50"/>
            </Anchor>
          </Anchors>
          <Color r="1" g="0.4" b="0.3" a="1"/>
        </FontString>

        <FontString name="player_l" inherits="GameFontNormalHuge" font="Fonts\FRIENDS.ttf" justifyH="CENTER">
          <FontHeight>
            <AbsValue val="22"/>
          </FontHeight>
          <Size>
            <AbsDimension x="160" y="30"/>
          </Size>
          <Anchors>
            <Anchor point="CENTER">
              <Offset x="0" y="0"/>
            </Anchor>
          </Anchors>
          <Color r="0.9" g="0.9" b="0.1" a="1"/>
        </FontString>
      </Layer>
    </Layers>
    <Scripts>
      <OnLoad>
         self:Hide();
      </OnLoad>
    </Scripts>
  </Frame>
</Ui>